.class public Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Ljava/util/Observer;


# instance fields
.field private a:Landroid/widget/TextView;

.field private b:Landroid/widget/TextView;

.field private c:Landroid/widget/TextView;

.field private d:Landroid/widget/TextView;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/ImageView;

.field private g:Lcom/waiqin365/lightapp/view/NoNetView;

.field private h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

.field private i:Lcom/waiqin365/lightapp/kehu/b/ar;

.field private j:Landroid/os/Handler;

.field private k:I

.field private l:Ljava/util/ArrayList;

.field private m:Ljava/util/ArrayList;

.field private n:Ljava/util/HashMap;

.field private o:Ljava/util/HashMap;

.field private p:Lcom/waiqin365/lightapp/kehu/dd;

.field private q:Lcom/waiqin365/compons/c/g;

.field private r:I

.field private s:Lcom/waiqin365/lightapp/kehu/c/l;

.field private t:Landroid/widget/LinearLayout;

.field private u:Landroid/widget/TextView;

.field private v:Landroid/widget/TextView;

.field private w:Z

.field private x:Lcom/waiqin365/lightapp/view/hr;

.field private y:Ljava/lang/String;

.field private z:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 2

    const/4 v1, 0x1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    const/4 v0, 0x0

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->r:I

    iput-boolean v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->w:Z

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->z:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    return v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->z:Ljava/lang/String;

    return-object p1
.end method

.method private a()V
    .locals 3

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "intentHashMap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "jsonHashMap"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/HashMap;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->o:Ljava/util/HashMap;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "cooperate_status"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->y:Ljava/lang/String;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "queryDistId"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "queryTypeId"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "shortcutKey"

    const-string/jumbo v2, "near"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "nearCustomer"

    const-string/jumbo v2, "nearCustomer"

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    return-void
.end method

.method private a(I)V
    .locals 4

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "page.currentPage"

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    sget-boolean v0, Lcom/fiberhome/gaea/client/c/b;->v:Z

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(Ljava/util/HashMap;)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->y:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "cooperate_status"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->y:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_1
    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/d;->a(Ljava/util/HashMap;)Ljava/util/ArrayList;

    move-result-object v0

    const/4 v1, 0x1

    if-ne p1, v1, :cond_2

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/d;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/d;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/db/offlinedata/d;->b(Ljava/util/HashMap;)Ljava/util/ArrayList;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    :cond_2
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    if-eqz v1, :cond_3

    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v1, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_4

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d:Landroid/widget/TextView;

    const-string/jumbo v2, "#ff9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ""

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->z:Ljava/lang/String;

    :cond_3
    new-instance v1, Landroid/os/Message;

    invoke-direct {v1}, Landroid/os/Message;-><init>()V

    const/16 v2, 0x3f2

    iput v2, v1, Landroid/os/Message;->what:I

    iput-object v0, v1, Landroid/os/Message;->obj:Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->j:Landroid/os/Handler;

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    goto/16 :goto_0

    :cond_4
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c:Landroid/widget/TextView;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v3}, Ljava/util/ArrayList;->size()I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c:Landroid/widget/TextView;

    const-string/jumbo v2, "#ff9008"

    invoke-static {v2}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->w:Z

    return p1
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    return-object v0
.end method

.method private b()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/cw;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/cw;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->s:Lcom/waiqin365/lightapp/kehu/c/l;

    return-void
.end method

.method private c()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightapp/kehu/cx;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/cx;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->j:Landroid/os/Handler;

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->w:Z

    return v0
.end method

.method private d()V
    .locals 8

    const-wide/16 v4, 0x3e8

    const-wide/16 v6, 0xbb8

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->g:Lcom/waiqin365/lightapp/view/NoNetView;

    const v0, 0x7f0c01da

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0309

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b:Landroid/widget/TextView;

    const v1, 0x7f0800be

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0305

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a:Landroid/widget/TextView;

    const v1, 0x7f080568

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const v0, 0x7f0c029b

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c:Landroid/widget/TextView;

    const v0, 0x7f0c0299

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d:Landroid/widget/TextView;

    const-string/jumbo v0, "3"

    const-string/jumbo v0, "nearby_max"

    invoke-static {p0, v0, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v0

    rem-long/2addr v0, v4

    const-wide/16 v2, 0x0

    cmp-long v0, v0, v2

    if-nez v0, :cond_2

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v1, "nearby_max"

    invoke-static {p0, v1, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v2

    div-long/2addr v2, v4

    invoke-virtual {v0, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_0
    sget-object v1, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    sget-object v2, Lcom/fiberhome/gaea/client/c/b;->d:Ljava/util/Locale;

    invoke-virtual {v1, v2}, Ljava/util/Locale;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_1
    const v0, 0x7f0c0227

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e:Landroid/widget/TextView;

    const v0, 0x7f0c0297

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0133

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    const v0, 0x7f0c029c

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->t:Landroid/widget/LinearLayout;

    const v0, 0x7f0c029d

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->u:Landroid/widget/TextView;

    const v0, 0x7f0c029e

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->v:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->v:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->l:Ljava/util/ArrayList;

    new-instance v0, Lcom/waiqin365/lightapp/kehu/b/ar;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->l:Ljava/util/ArrayList;

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/kehu/b/ar;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->i:Lcom/waiqin365/lightapp/kehu/b/ar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->i:Lcom/waiqin365/lightapp/kehu/b/ar;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->a()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/cz;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/cz;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setonRefreshListener(Lcom/waiqin365/lightapp/kehu/view/ao;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/da;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/da;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setonHistoryListener(Lcom/waiqin365/lightapp/kehu/view/ap;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/db;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/db;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    const-string/jumbo v1, "queryPos"

    invoke-virtual {v0, v1}, Ljava/util/HashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    if-eqz v0, :cond_0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    const v0, 0x7f0801d2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f()V

    :cond_1
    return-void

    :cond_2
    sget-object v0, Ljava/util/Locale;->CHINA:Ljava/util/Locale;

    const-string/jumbo v1, "%.1f"

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    const-string/jumbo v4, "nearby_max"

    invoke-static {p0, v4, v6, v7}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;J)J

    move-result-wide v4

    long-to-double v4, v4

    const-wide v6, 0x408f400000000000L    # 1000.0

    div-double/2addr v4, v6

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v0, v1, v2}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_0

    :cond_3
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_1
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    add-int/lit8 v1, v0, -0x1

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    return v0
.end method

.method private e()V
    .locals 1

    const/4 v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a(I)V

    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->l:Ljava/util/ArrayList;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e:Landroid/widget/TextView;

    const v1, 0x7f080517

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->p:Lcom/waiqin365/lightapp/kehu/dd;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/kehu/dd;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/kehu/dd;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->p:Lcom/waiqin365/lightapp/kehu/dd;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    if-nez v0, :cond_1

    new-instance v0, Lcom/waiqin365/compons/c/g;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->p:Lcom/waiqin365/lightapp/kehu/dd;

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/c/g;-><init>(Lcom/waiqin365/compons/c/l;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    :cond_1
    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->r:I

    rem-int/lit8 v0, v0, 0x2

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->c()V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    const/16 v1, 0x2710

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/c/g;->a(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0, p0}, Lcom/waiqin365/compons/c/g;->a(Landroid/content/Context;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->e()V

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->r:I

    add-int/lit8 v0, v0, 0x1

    iput v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->r:I

    return-void

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->a()V

    goto :goto_0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/b/ar;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->i:Lcom/waiqin365/lightapp/kehu/b/ar;

    return-object v0
.end method

.method private g()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->f()V

    :cond_0
    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->g:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Lcom/waiqin365/lightapp/kehu/c/l;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->s:Lcom/waiqin365/lightapp/kehu/c/l;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    add-int/lit8 v1, v0, 0x1

    iput v1, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->k:I

    return v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->o:Ljava/util/HashMap;

    return-object v0
.end method

.method static synthetic o(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->z:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic p(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->g()V

    return-void
.end method

.method static synthetic q(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->e:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic r(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)Ljava/util/HashMap;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->n:Ljava/util/HashMap;

    return-object v0
.end method


# virtual methods
.method public a(Ljava/util/HashMap;)V
    .locals 3

    const-string/jumbo v0, "shortcutKey"

    const-string/jumbo v1, "near"

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "menuViewAll"

    const-string/jumbo v1, "1"

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "isNeedStopCooperation"

    const-string/jumbo v1, "1"

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "approvalStatus"

    const-string/jumbo v1, "1,2,3"

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "page.recPerPage"

    const-string/jumbo v1, "10"

    invoke-virtual {p1, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/kehu/a/a/bk;

    invoke-direct {v1, v0, p1}, Lcom/waiqin365/lightapp/kehu/a/a/bk;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/kehu/a/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->j:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/kehu/a/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/kehu/a/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/b;->start()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->back()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByMapActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "select"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->l:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "all"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->m:Ljava/util/ArrayList;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "jsonHashMap"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->o:Ljava/util/HashMap;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "totalCount"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->z:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->overridePendingTransition(II)V

    goto :goto_0

    :sswitch_2
    const v0, 0x7f0801d2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->t:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->h:Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/view/CustomerNearByListview;->setVisibility(I)V

    goto :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c01da -> :sswitch_0
        0x7f0c0297 -> :sswitch_2
        0x7f0c029e -> :sswitch_2
        0x7f0c0309 -> :sswitch_1
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    invoke-static {p0}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/app/Activity;)V

    const v0, 0x7f03005a

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->setContentView(I)V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->a()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->c()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->d()V

    invoke-static {p0}, Lcom/waiqin365/compons/c/d;->d(Landroid/content/Context;)V

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->addObserver(Ljava/util/Observer;)V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->q:Lcom/waiqin365/compons/c/g;

    invoke-virtual {v0}, Lcom/waiqin365/compons/c/g;->h()V

    :cond_0
    invoke-super {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onDestroy()V

    return-void
.end method

.method public onWindowFocusChanged(Z)V
    .locals 6

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onWindowFocusChanged(Z)V

    const-string/jumbo v0, "showCustomerNearByGuide"

    const/4 v1, 0x1

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Z)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0c0309

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->findViewById(I)Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/lightapp/view/hr;-><init>(Landroid/content/Context;Landroid/view/View;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    const v1, 0x7f0800b6

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    new-instance v1, Lcom/waiqin365/lightapp/kehu/dc;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/kehu/dc;-><init>(Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/hr;->a(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->x:Lcom/waiqin365/lightapp/view/hr;

    sget-object v1, Lcom/waiqin365/lightapp/view/ht;->b:Lcom/waiqin365/lightapp/view/ht;

    sget-object v2, Lcom/waiqin365/lightapp/view/hu;->a:Lcom/waiqin365/lightapp/view/hu;

    const/16 v3, 0xd2

    const/4 v4, 0x0

    const/16 v5, -0xf

    invoke-virtual/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;III)V

    :cond_0
    return-void
.end method

.method public update(Ljava/util/Observable;Ljava/lang/Object;)V
    .locals 2

    if-eqz p2, :cond_0

    const-string/jumbo v0, "CMCustomerNearByActivity"

    invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, Lcom/waiqin365/lightapp/view/a/b;->a()Ljava/util/Observable;

    move-result-object v0

    invoke-virtual {v0, p0}, Ljava/util/Observable;->deleteObserver(Ljava/util/Observer;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/kehu/CMCustomerNearByActivity;->finish()V

    :cond_0
    return-void
.end method
